﻿using Microsoft.VisualBasic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text.Json.Serialization;

namespace RndMaterialDisposalService.Models
{
    /// <summary>
    /// 
    /// </summary>
    [Table("ERPAssetInfo")]
    public class ERPAssetInfoModel
    {
        /// <summary>
        ///
        /// </summary>
        public string? Key { get { return this.AssetNumber; } }
        /// <summary>
        /// 
        /// </summary>
        [Key]
        public string? AssetNumber { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? AssetDesription { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? AssetOwnerName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? OwnerEmployeeNumber { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? DeptNumber { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? DeptName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? AssetAttachment { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? GetDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? ModelNumber { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? SerialNumber { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? ARNumber { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? PayBatch { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? PONumber { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? VendorName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? City { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? Location { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? TransferDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? BeforeEmployeeName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? BeforeEmployeeNum { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? BeforeDepartmentCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? BeforeDepartmentName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? BeforeCity { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? BeforeLocation { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? CustomsInfo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? ProductLine { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double? AssetCost { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double? DeprnReserve { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? AssetType { get; set; }
        /// <summary>
        /// 净值
        /// </summary>
        public double? NetValue { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? BookType { get; set; }
        /// <summary>
        /// 品质状态
        /// </summary>
        [NotMapped]
        public string? QualityStatus { get; set; }
        /// <summary>
        /// 原值
        /// </summary>
        [NotMapped]
        public string? OriginalValue { get; set; }
        /// <summary>
        /// 累计折旧
        /// </summary>
        [NotMapped]
        public string? TotalDeprecition { get; set; }
        /// <summary>
        /// 资产性质
        /// </summary>
        [NotMapped]
        public string? AssetQuality { get; set; }
        /// <summary>
        /// 专业意见
        /// </summary>
        [NotMapped]
        public string? ProfessionalOpinions { get; set; }
        /// <summary>
        /// PC资产报废标准
        /// </summary>
        [NotMapped]
        public string? PCAssetRetirementStandard { get; set; }
    }
}
